package model.command;
import controller.KeyListeners.KeyListenerSet;
/**
 * Defines traits common to all create commands.
 *
 * @author joseph
 */
public abstract class Create extends Command{
    private int numWorkers;
    /**
     * Initiates this create command
     *
     * @param listeners             The listeners availible to this command
     */
    public Create(){
        super();
    }
     @Override
    public void attachToListener() {
        getListeners().attachToEnterListener(clone());
    }
    public int getNumWorkers(){
        return numWorkers;
    }
    public void recieveNumber(int numWorkers){
        this.numWorkers = numWorkers;
    }
}
